package edu.lnu.ums.dal.impl;

import javax.ejb.Stateless;

import edu.lnu.ums.dal.IUMSTypeDAO;
import edu.lnu.ums.entities.dictionaries.UMSType;

@Stateless
public class UMSTypeDAO extends GenericDictionaryDAO<UMSType> implements IUMSTypeDAO{

    public UMSTypeDAO() {
        super(UMSType.class);
    }


    @Override
    public String getByNameQuery() {
        return "from UMSType where userClassName like :name";
    }

    @Override
    public String getOrderByQuery() {
        return "order by userClassName";
    }
}
